package com.aqie.libfactory.model.api.post;

import androidx.databinding.Bindable;

public class Comment2 {

    /**
     * id : 1364766368978731009
     * parentId :
     * postId : 1364463422252601346
     * userId : 1355421699175165954
     * reply : 我是评论
     * createTime : 2021-02-25 10:37:13
     */

    private String id;
    private String parentId;
    private String postId;
    private String userId;
    protected String reply;
    private String createTime;
    private String avatar;
    private String username;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Bindable
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;

    }

    @Bindable
    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;

    }

    @Bindable
    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;

    }

    @Bindable
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;

    }

    @Bindable
    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;

    }

    @Bindable
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }


    @Override
    public String toString() {
        return "Comment2{" +
                "id='" + id + '\'' +
                ", parentId='" + parentId + '\'' +
                ", postId='" + postId + '\'' +
                ", userId='" + userId + '\'' +
                ", reply='" + reply + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
